package org.finesys.codegen.conveter;

import org.finesys.codegen.dto.GenTableGroupDTO;
import org.finesys.codegen.entity.GenTable;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface GenTableConvert {
    GenTableConvert INSTANCE = Mappers.getMapper(GenTableConvert.class);

    /**
     * 转换传输对象为GenTable
     */
    GenTable convert(GenTableGroupDTO genTableGroupDTO);
}
